package mdt.model;

/**
 * Created by xiaobyu on 7/15/2016.
 */
public class DiamondChoice extends NodeModel implements IDiamondChoice{

    private static final long serialVersionUID = 1L;

    private Connector[] connectors = new Connector[4];

    public DiamondChoice() {
        this("Choice");
    }

    public DiamondChoice(String name) {
        super(name);
        for (int i = 0; i < 4; i++) {
            connectors[i] = new Connector(this, i);
        }
    }

    public Connector connectorAt(int idx) {
        return connectors[idx];
    }

}
